<style type="text/less">
    @import "/web/public/public.less";
    aside {
        width: 100%;
        background-color: #fbfcff !important;
        color: #333333;
        padding-bottom: 40px !important;

        .header-img-wrap{
            width: 100%;
            text-align: center;
            padding-top: 48px;
            border-bottom: 1px dashed #e1e1e1;
            padding-bottom: 28px;

            img{
                width: 82px;
                height: 82px;
                border-radius: 50%;
            }
            p{
                margin-top: 20px;
            }
        }
        .aside-list{
            padding-left: 80px;
            line-height: 48px;
            &>li{
                &:hover{
                    color: #3c76f5;
                    .iconfont{
                        color: #3c76f5;
                    }
                }
                &.active{
                    color: #3c76f5;
                    .iconfont{
                        color: #3c76f5;
                    }
                }

                .iconfont{
                    color: #838080;
                    margin-right: 18px;
                }
                a{
                    color: inherit;
                    vertical-align: middle;
                }
            }
        }
    }
</style>
<script src="/web/lib/less.min.js"></script>

<aside id="personal-center-aside">
    <div class="header-img-wrap">
        <img src="/web/img/default-face.png" alt="头像">
        <p></p>
    </div>
    <ul class="aside-list">
        <li class="collection">
            <i class="iconfont icon-shoucang"></i>
            <a href="/web/my-collection.html">我的收藏</a>
        </li>
        <li class="message">
            <i class="iconfont icon-xiaoxi"></i>
            <a href="/web/message-center.html">我的消息</a>
        </li>
        <li class="comment">
            <i class="iconfont icon-cunrucaogaoxiang"></i>
            <a href="/web/my-comment.html">我的评论</a>
        </li>
        <li class="publish">
            <i class="iconfont icon-fabubiaoshu"></i>
            <a href="/web/publish-list.html">我的发布</a>
        </li>
        <li class="options">
            <i class="iconfont icon-shezhi"></i>
            <a href="/web/account-options.html">账号设置</a>
        </li>
    </ul>
</aside>
<script>
    $(function () {
        $('#personal-center-aside .header-img-wrap img').prop('src',userInfo.userpic);
        $('#personal-center-aside .header-img-wrap p').text(userInfo.nickname);
    })
</script>